package fr.poy.mygluco.client;

import java.util.List;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.AsyncCallback;

import fr.poy.mygluco.model.AppLogs;
import fr.poy.mygluco.model.Record;
import fr.poy.mygluco.model.UserProfile;

 
public interface AppServiceAsync {
    
	public void loadProfile(AsyncCallback<UserProfile> callback); 
	public void saveProfile(UserProfile o, AsyncCallback<AppLogs> callback); 
	public void listRecord(PagingLoadConfig config,AsyncCallback<PagingLoadResult<Record>> callback);	
	public void processImportFile(AsyncCallback<List<Record>> callback);
	public void persistRecords(List<Record> o, AsyncCallback<AppLogs> callback);
	
	public void removeAllRecords(AsyncCallback<AppLogs> callback); 
	
 
}
